STEP 5: We want the meteors to fall but not the alien! Let's turn off gravity just for the alien.

Sprite gravity off allows us to ignore gravity for just one sprite. In this case, that means your alien will stay put, but other sprites you add to the stage will fall.

  • From , drag Sprite Gravity Off into your program.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)